<!--
 * @Author: Wangtao
 * @Date: 2020-09-21 09:55:09
 * @LastEditors: zhanwang
 * @LastEditTime: 2021-11-02 14:03:57
-->
<template>
    <div style="display: flex;height: 100%;">
        <SideBar :groupSettings="groupSettings" class="fl"></SideBar>
        <div  class="data-center-wapper fr">
            <keep-alive>
                <router-view></router-view>
            </keep-alive>
        </div>
    </div>
</template>

<script lang="ts">
import SideBar from '@/common/views/sideBar/index.vue'
import { Component, Vue } from 'vue-property-decorator'
@Component({
  name: 'dataCenter',
  components: { SideBar }
})
export default class Config extends Vue {
  private groupSettings = {
    call_data: {
      title: '通话数据'
    },
    webchat_data: {
      title: '在线数据'
    },
    call_report: {
      title: '通话报表'
    },
    report: {
      title: '在线报表'
    },
    monitor: {
      title: '在线监控'
    },
    call_monitor: {
      title: '通话监控'
    },
    work_report: {
      title: '工单报表'
    }
  }
}
</script>

<style lang="stylus" scoped>
.data-center-wapper
  width calc(100vw - 254px)
  height 100%
  margin-left 20px
  overflow-x auto
  overflow-y hidden
  border-radius 10px
  box-sizing border-box
</style>
